﻿
namespace SpringSeries.Core.CustomTypeConverter
{
    public class Person
    {
        private string _firstName;
        private short _age;
        private AddressInfo _addressInfo;

        public AddressInfo AddressInfo
        {
            get { return _addressInfo; }
            set { _addressInfo = value; }
        }

        public string FirstName
        {
            get { return _firstName; }
            set { _firstName = value; }
        }

        public short Age
        {
            get { return _age; }
            set { _age = value; }
        }

        public Person()
        {
            _addressInfo = new AddressInfo();
        }
    }
}
